package org.cfx.basic.annotation;

import java.lang.annotation.*;

/**
 * @author RTX 9090
 */
@Target({ElementType.TYPE,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface Permission {

    /**
     * 权限作用
     * @return
     */
    String name();

    /**
     * 描述
     * @return
     */
    String desc() default "";
}
